﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div>
        <h1>新用户注册</h1>
        @using (Html.BeginForm())
        {
            <p>姓名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@Html.TextBox("name")</p>

            <p>
                性别:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@Html.RadioButton("sex", "1") 男
                @Html.RadioButton("sex", "2") 女

            </p>
            <p>
                爱好:@Html.CheckBox("fav1", new { @value = "swim" }) 游泳
                @Html.CheckBox("fav2", new { @value = "game" }) LOL
               
            </p>
            <p>密码:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@Html.Password("pwd") </p>
            <p>确认密码：@Html.Password("pwd1") </p>

            <p>
                国家： @Html.DropDownList("nation", new SelectList(new[] { "中国", "美国" }))

            </p>

            <p>
                国家： @Html.CheckBox("check", "ture") 同意《用户服务协议》
            </p>
            <p>
                <input type="submit" value="提交" />
            </p>
        }
    </div>
</body>
</html>
